package com.bootdo.imgtext.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.imgtext.dao.DocitemDao;
import com.bootdo.imgtext.domain.DocitemDO;
import com.bootdo.imgtext.service.DocitemService;



@Service
public class DocitemServiceImpl implements DocitemService {
	@Autowired
	private DocitemDao docitemDao;
	
	@Override
	public DocitemDO get(Integer id){
		return docitemDao.get(id);
	}
	
	@Override
	public List<DocitemDO> list(Map<String, Object> map){
		return docitemDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return docitemDao.count(map);
	}
	
	@Override
	public int save(DocitemDO docitem){
		return docitemDao.save(docitem);
	}
	
	@Override
	public int update(DocitemDO docitem){
		return docitemDao.update(docitem);
	}
	
	@Override
	public int remove(Integer id){
		return docitemDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return docitemDao.batchRemove(ids);
	}
	
}
